<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
   <head><title>IGNORED</title></head>  
   <body>        
      <ui:composition>    
         <div>
         <h:form>
<div>
    <div><h:outputLabel for="login" value="Имя пользователя:" /></div>
    <div><h:inputText id="login" value="#{authBean.login}" required="true" /></div>
</div>
<div>
    <div><h:outputLabel for="password" value="Пароль:" /></div>
    <div><h:inputSecret id="password" value="#{authBean.password}" required="true" /></div>
</div>
<div>
    <h:commandButton value="Войти" action="#{authBean.doLogin}" />
</div>
<div>
    <h:messages />
</div>
</h:form>
<div><h:link outcome="register" value="Зарегистрироваться"/></div>
         </div>  	
      </ui:composition>
   </body>
</html>